/*
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

#include "InlinerConfig.h"
#include "PassManager.h"

namespace inliner {
/**
 * Before InterDexPass, we can run inliner with "intra_dex=false" to do global
 * inlining. But after InterDexPass, we can only run inliner within each dex by
 * setting "intra_dex" to true.
 */
void run_inliner(DexStoresVector& stores,
                 PassManager& mgr,
                 ConfigFiles& inliner_config,
                 bool intra_dex = false,
                 bool use_method_profiles = false);
} // namespace inliner
